How do I redirect a url request to wordpress using htaccess? [on hold]

Posted by hitautodestruct on Server Fault See other posts from Server Fault or by hitautodestruct
Published on 2013-11-13T07:55:34Z Indexed on 2013/11/13 9:59 UTC
Read the original article Hit count: 161

Filed under:
|
|
|

I've searched far and wide for a solution to this and I am sure it's simple but I simply couldn't find a solution.

This is the default Wordpress redirect code that sits in my htaccess file:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

How do I make it so that this will always route the url request to https://?

Note: I am terrible at speaking Apache.

© Server Fault or respective owner

Related posts about ssl

Related posts about .htaccess